import React from 'react';
import * as Aicons from '@ant-design/icons';

export default function Icon(props: Record<string, any>) {
  const Icon = (Aicons as any)[props.type] || <></>;
  return <Icon />;
}
